package cc.eguid.tools.msg;

import java.io.Serializable;

/**
 * 鼠标事件消息
 */
public class MouseEventMessage implements Serializable {
    private String type;
    private int x, y, button;

    public MouseEventMessage(String type, int x, int y, int button) {
        this.type = type;
        this.x = x;
        this.y = y;
        this.button = button;
    }

    public String getType() { return type; }
    public int getX() { return x; }
    public int getY() { return y; }
    public int getButton() { return button; }
}
